doctype html
html
    head
        link(rel='icon', href='resources/favicon.ico')
        link(href='//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css', rel='stylesheet')
        link(rel='stylesheet', type='text/css', href='resources/lib/font-awesome.min.css')
        script(src='resources/lib/jquery-2.1.4.min.js')
        meta(charset='utf-8')
        title= title
    body
        .container
            .row
                .header
                    .col-sm-4
                        img#head_img.name(src='resources/img/head.jpg', height='150px')
                    .col-sm-8
                        h3 个人简介
                        p#desc= resume.desc
            .row
                .col-xs-12
                    .contact.section
                        .row
                            .col-xs-12
                                h3 联系/关于
                                - var info = resume.info;
                        .row
                            .col-sm-6
                                .field.nationality
                                    .circle
                                        i.glyphicon.glyphicon-user
                                    |   #{info.name}

                                .field.location
                                    .circle
                                        i.glyphicon.glyphicon-map-marker
                                    |  #{info.location}
                                .field.phone
                                    .circle
                                        i.glyphicon.glyphicon-earphone
                                    |  #{info.phone}
                                .field.email
                                    .circle
                                        i.glyphicon.glyphicon-envelope
                                    |  #{info.email}
                            .col-sm-6
                                .field.dob
                                    .circle
                                        i.fa.fa-birthday-cake
                                    |  #{info.birthday}
                                .field.address
                                    .circle
                                        i.glyphicon.glyphicon-home
                                    |  #{info.home}
            .row
                .col-xs-12
                    .section
                        h3 就业目标
                        blockquote
                            p
                                | #{resume.target}
            .row
                .col-xs-12
                    .section
                        h3 IT/具体技能
                        ul.knowledge.list-unstyled
                            each val in resume.skills
                                li= val
            .row
                .col-xs-12
                    .section
                        h3 关键属性？
                        .list-group
                            each val in resume.keyProps
                                .list-group-item.key-prop(heading='#{val.key}', text='#{val.value}')
            .row
                .col-xs-12
                    .section
                        .row
                            .col-xs-12
                                h3 教育/实习
                        .row
                            each val in resume.educations
                                .col-sm-6
                                    ul.schools.list-unstyled
                                        li
                                            .media
                                                .pull-left(href='#')
                                                    i.fa.fa-university
                                                .media-body
                                                    p= val
            .row
                .col-xs-12
                    .section
                        h3 工作经验
                        each experience in resume.experiences
                            ul.list-group
                                li.list-group-item.disabled.lables(lables="#{experience.tags}")
                                each desc in experience.descriptions
                                    li.list-group-item  !{desc}
                    .row
                        .col-xs-12
                            .section
                                .row
                                    .col-xs-12
                                        h3 正文
                                        .text   !{resume.text}
                                        |   #{resume.endCode}  （内容修改次数）
                                        if admin
                                            |   #{resume.readTotal} （内容阅读次数）
                                .row
    link(rel='stylesheet', type='text/css', href='resources/index.css')
    link(rel='stylesheet', type='text/css', href='resources/css/style.extend.css')
    script(src='resources/index.js ')
    script(src='resources/js/decompression.js ')
    if admin
        script(src='resources/js/admin.js')